<!--  -->
<template>
  <div>
    <van-form>
      <van-field required readonly autosize type="textarea" rows="1" name="queryName" :value="fromdata.queryName" label="查询名称：" label-width="5em" />
      <van-field required readonly autosize type="textarea" rows="1" name="configNumber" :value="fromdata.configNumber" label="查询编码：" label-width="5em" />
      <van-field required readonly autosize type="textarea" rows="1" name="queryType" :value="fromdata.queryType" label="查询类型：" label-width="5em" />
      <van-field required readonly autosize type="textarea" rows="1" name="permissionEffectiveDays" :value="fromdata.permissionEffectiveDays" label="权限有效期(天)：" label-width="8em" />
      <van-field required readonly autosize type="textarea" rows="1" name="fieldName" :value="fromdata.fieldName" label="申请查询信息：" label-width="7em" />
      <van-field required readonly autosize type="textarea" rows="1" name="authorizedPersonnel" :value="fromdata.authorizedPersonnel" label="本次权限人员：" label-width="7em" />
      <van-field readonly autosize type="textarea" rows="1" name="oldAthorizedPersonnel" :value="fromdata.oldAthorizedPersonnel" label="已授权人员：" label-width="6em" />
      <!-- <van-field v-if="this.location=='dict.toStart'" readonly autosize type="textarea" rows="1" name="invalidPersonnel" :value="fromdata.invalidPersonnel" label="失效人员：" label-width="6em" /> -->
    </van-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      fromdata: {},
      location:''
    }
  },
  //生命周期--创建完成
  activated() {
    this.fromdata=this.$route.query.infodata
    this.location=this.$route.query.location
  },
  //生命周期--挂载完成
  components: {
    
  },
  //方法调用
  methods: {
    
  }
}
</script>
<style  scoped>
.errorPlace{
  position:absolute;
  margin-top: -80px;
  top: 50%;
  margin-left: -50px;
  left: 50%;
}
</style>